import request from '@/request'

// 查询搜索并分页
export const findPages = (data) => {
    return request.post('/users/wallet/income/list', data)
}

// id查询明细
export const getById = (id) => {
    return request.post(`/users/wallet/income/get/${id}`, {})
}

// 保存和更新
export const saveUpdate = (data) => {
    return request.post('/users/wallet/income/saveupdate', data)
}

// 批量彻底删除
export const batchRemoves = (ids) => {
    return request.post('/users/wallet/income/batch/remove', { ids })
}

// 物理删除
export const removeById = (id) => {
    return request.post(`/user/wallet/income/remove/${id}`, {})
}
